package org.example.StudentManagementSystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "课程信息的数据传输对象")
@Setter
@Getter
public class CourseDTO {
    @Schema(description = "课程ID", example = "1")
    private Integer id;

    @Schema(description = "课程名称", example = "计算机科学")
    private String name;

    @Schema(description = "课程描述", example = "这是一门计算机科学入门课程")
    private String description;

    @Schema(description = "课程学分", example = "3")
    private int credit;

    @Schema(description = "教师ID", example = "101")
    private Integer teacherId;

    @Schema(description = "教师姓名", example = "张伟")
    private String teacherName;
}
